package com.zhtx.debt.customer.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * E签宝信息
 */
@Entity
@Data
@Table(name = "debt_eqb_account_zj")
public class DebtEqbAccountZj implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Id
    @Column(name = "id", insertable = false, nullable = false)
    private String id;

    /**
     * 客户ID
     */
    @Column(name = "cust_id", nullable = false)
    private String custId;

    /**
     * 客户姓名
     */
    @Column(name = "customer_name", nullable = false)
    private String customerName;

    /**
     * 客户身份证号
     */
    @Column(name = "id_no", nullable = false)
    private String idNo;

    /**
     * 客户手机号
     */
    @Column(name = "mobile", nullable = false)
    private String mobile;

    /**
     * E签宝实名认证ID
     */
    @Column(name = "auth_serviceid")
    private String authServiceid;

    /**
     * E签宝ID
     */
    @Column(name = "eq_account_id")
    private String eqAccountId;

    /**
     * 人脸识别认证账号ID
     */
    @Column(name = "face_account_id")
    private String faceAccountId;

    /**
     * 盖章图片
     */
    @Column(name = "eq_base64")
    private String eqBase64;

    /**
     * 备注
     */
    @Column(name = "remark")
    private String remark;

    /**
     * 创建人ID
     */
    @Column(name = "create_by")
    private String createBy;

    /**
     * 创建人姓名
     */
    @Column(name = "create_name")
    private String createName;

    /**
     * 创建时间
     */
    @Column(name = "create_date")
    private LocalDateTime createDate;

    /**
     * 修改人ID
     */
    @Column(name = "update_by")
    private String updateBy;

    /**
     * 修改人姓名
     */
    @Column(name = "update_name")
    private String updateName;

    /**
     * 修改时间
     */
    @Column(name = "update_date")
    private LocalDateTime updateDate;

    
}